projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
87b7103
)
GtkToolbar: Set orientable style classes initially
author
Matthias Clasen
<mclasen@redhat.com>
Fri, 18 Jul 2014 23:40:12 +0000
(19:40 -0400)
committer
Matthias Clasen
<mclasen@redhat.com>
Fri, 18 Jul 2014 23:40:12 +0000
(19:40 -0400)
This was an omission, horizontal/vertical would only be set
when the orientation is changed.
gtk/gtktoolbar.c
patch
|
blob
|
history
diff --git
a/gtk/gtktoolbar.c
b/gtk/gtktoolbar.c
index 061793d4294bbeb03ecaf622b421f52a88cc2fe4..36d001acd52f59eb1b8a2c5c4b0b243f762f2afa 100644
(file)
--- a/
gtk/gtktoolbar.c
+++ b/
gtk/gtktoolbar.c
@@
-689,6
+689,8
@@
gtk_toolbar_init (GtkToolbar *toolbar)
priv->icon_size = DEFAULT_ICON_SIZE;
priv->animation = DEFAULT_ANIMATION_STATE;
+ _gtk_orientable_set_style_classes (GTK_ORIENTABLE (toolbar));
+
priv->arrow_button = gtk_toggle_button_new ();
g_signal_connect (priv->arrow_button, "button-press-event",
G_CALLBACK (gtk_toolbar_arrow_button_press), toolbar);